package com.appspot.moviesessions.model;

import java.util.Date;

import org.springframework.context.ApplicationEvent;

public class MovieSessionFoundEvent extends ApplicationEvent  {
	private static final long serialVersionUID = 1L;
	private String movieName;
	private Date time;
	private String location;

	
	public MovieSessionFoundEvent(Object source,
			String testMovieName,Date time, String location) {
		super(source);
		this.movieName = testMovieName;
		this.time = time;
		this.location = location;
	}

	public String getName() {
	    return movieName;
	}

	public Date getTime() {
		return time;
	}
	
	public String getLocation() {
	    return location;
    }
	
}
